package com.hwy.catering.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hwy.catering.dto.MealDto;
import com.hwy.catering.entity.Dish;
import com.hwy.catering.entity.Meal;
import com.hwy.catering.utils.R;


public interface MealService extends IService<Meal> {
    //添加套餐
    R addMeal(MealDto mealDto);

    //查询所有套餐
    R findMealAll(Page<Meal> pageParam,Meal meal);

    //获取单个套餐详情
    R getMealById(Long id);

    //编辑套餐
    R editMeal(MealDto mealDto);

    //具体删除套餐
    R deleteOneMeal(Long id);
}
